package util
{
	import flash.utils.ByteArray;

	public class GameByteArray extends ByteArray
	{
		public function GameByteArray()
		{
			super();
		}

		public function writeLong(long:Long):void
		{
			this.writeUnsignedInt(long.high);
			this.writeUnsignedInt(long.low);
		}

	/*public function readLong():Long
	   {
	   var mylong:Long = new Long(0, 0);
	   mylong.high = this.readUnsignedInt();
	   mylong.low = this.readUnsignedInt();
	   return mylong;
	 }*/
	}
}